const deleteInvalid = (obj: any) => {
  Object.keys(obj).forEach((item) => {
    if (!obj[item] && obj[item] != 0) {
      delete obj[item];
    }
  });
  return obj;
};

export { deleteInvalid };
